package Guava_Commons;
public class ds {
    public static void replaceSpace(String str) {
        String[]a=str.split(" ");
        
    	for(int i = 0;i<a.length;i++){
           System.out.print(a[i]+"%20");
        }
		
    }
    public static void main(String[] args) {
		replaceSpace("we are find");
	}
}